package com.hzspace.customaopannotation.service;

import com.hzspace.customaopannotation.annotation.Log;
import org.springframework.stereotype.Service;

/**
 * @Author: LiuHao
 * @Descirption:
 * @Date: 2020/2/22_18:06
 */
@Service
public class BusyService {

    @Log
    public Object busy1(){
        System.out.println("I am busy1");
        return 1;
    }
    @Log(writeLog = false)
    public Object busy2(){
        System.out.println("I am busy2");
        return 2;
    }
}
